var eventsMgr = require('eventsMgr');
var consts = require('consts');
cc.Class({
    extends: cc.Component,
    properties: {
        groupId: {
            // ATTRIBUTES:
            default:consts.CellGroups.DG_Def,        // The default value will be used only when the component attaching
            serializable: true,   // optional, default is true
            tooltip:'物品的组类型',
        },
        cellId:{
            default:'',
            tooltip:'物品Id',
        },
        isMoveEnable:true,
    },

    // LIFE-CYCLE CALLBACKS:
    onLoad () {
        let self = this;
        self.curCount = 0;
        if (self.node.width === 0 || self.node.height === 0){
            cc.warn('操作节点没有宽高<'+self.node.name+'>');
        }
    },
    start () {

    },
});
